#ifndef _RTMCLIENT_H
#define _RTMCLIENT_H 1

#include <map>
#include "RestClient.h"
#include "RTMRequest.h"

namespace http {
  class RTMClient : public RestClient
  {
    public:
      // Constructors
      RTMClient(const std::pair<std::string, std::string> &, const std::string &uri="http://api.rememberthemilk.com/services/rest/?");

      // Object methods
      bool login(const std::string &, const std::string &);
      std::string getAuthURL(const std::string &perm="read");
      std::string getFrob();

    private:
      http::RTMRequest rtmRequest;
  };
}

#endif /* !_RTMCLIENT_H */
